//
//  ShareViewCell.swift
//  ShareTest1
//
//  Created by leeqb on 12/11/15.
//  Copyright © 2015 powerlee. All rights reserved.
//

import UIKit

class ShareViewCell: UICollectionViewCell {
    @IBOutlet var cntView: UIView!
    @IBOutlet weak var imageView: UIImageView!
    @IBOutlet weak var textLabel: UILabel!
    
    override init(frame: CGRect) {
        super.init(frame: frame)
        self.initSelf()
    }
    
    required init?(coder aDecoder: NSCoder) {
        super.init(coder: aDecoder)
        self.initSelf()
    }
    
    private func initSelf() {
        NSBundle.mainBundle().loadNibNamed("ShareViewCell", owner: self, options: nil)
        self.addSubview(cntView)
        cntView.frame.size = self.frame.size
    }
    
}
